package com.ydj.app.protocol.http.oldcms;

import com.ydj.framework.protocol.JsonBaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

import javax.validation.constraints.NotNull;

@Getter
public class CmsAccountUpdateEnableReq extends JsonBaseRequest {
    @ApiModelProperty(value = "账号ID", required = true, example = "342342342342")
    @NotNull(message = "缺少账号ID")
    private Long id;

    @ApiModelProperty(value = "是否启用", required = true)
    @NotNull(message = "缺少是否启用")
    private Boolean enable;
}